<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<s:head />
		<s:i18n name="globalMessages"></s:i18n>
		<base href="<%=basePath%>" />
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>后台登录</title>
		<script type='text/javascript' src='js/jquery-1.4.2.min.js'></script>
		<script type='text/javascript' src='js/jquery.validate.min.js'></script>
		<script type='text/javascript' src='js/common.js'></script>
		<link href="style/index.css" rel="stylesheet" type="text/css" />
		<link href="style/valid.css" rel="stylesheet" type="text/css" />
		<link href="images/css.css"  rel="stylesheet" type="text/css" />
			<style type="text/css">
				a:link {
					text-decoration: none;
				}
				a:visited {
					text-decoration: none;
				}
				a:hover {
					text-decoration: none;
				}
				a:active {
					text-decoration: none;
				}
				.STYLE10 {
					font-size: 14px;
					font-weight: bold;
				}
		</style>
		<script type=text/javascript>
			function change() {
				document.getElementById("vcodeimg").src = "VerifyCodeImg?date=" + (new Date());
				return false;
			}
			function submitForm() {
				if ($.trim($("#account").val()) == "") {
					$("#accountError").text("请输入账户");
					return false;
				}
				if ($("#password").val() == "") {
					$("#passwordError").text("请输入密码");
					return false;
				}
			 	$("#loginForm").submit();
			}
		</script>
	</head>
<body style="margin:0px; text-align:center;" >
<table width="100%" height="70" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="70" align="center" valign="middle" background="images/top_bg.jpg"><table width="960" height="68" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="124" height="60"><table width="114" height="50" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="50" valign="bottom"><img src="images/logo.jpg" alt="" width="118" height="30" /></td>
            </tr>
          </table></td>
        <td width="17" align="center"><table width="13" height="42" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="42" valign="bottom"></td>
            </tr>
          </table></td>
        <td width="326" align="left" valign="middle"><table width="158" height="38" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="38" valign="bottom"></td>
            </tr>
          </table></td>
        <td width="232" align="left" valign="middle">&nbsp;</td>
        <td width="261" align="left" valign="middle"><table width="260" height="59" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="33" colspan="2" valign="bottom">&nbsp;</td>
          </tr>
          <tr>
            <td width="241" height="26" align="right"> <a href="index.html" class="STYLE1"> &nbsp;</td>
            <td width="19" align="center"> </td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%" height="37" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="37" background="images/lm_bg.jpg">
    <table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      		<td></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="100%" height="41" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td height="44" align="right">&nbsp; 
    	<s:if test="hasErrors()">
					<div class="tip" style="margin-right: 350px;">
						<s:fielderror cssStyle="padding:0;margin:0;"/>
						<s:actionerror cssStyle="padding:0;margin:0;"/>
					</div>
		</s:if>
    </td>
  </tr>
</table>

<s:form name="loginForm" id="loginForm" action="loginAction!loginManage.action" method="post">
<table width="960" height="161" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="598" height="352" align="center"><img src="images/login_tp.jpg" width="470" height="352" /></td>
    <td width="362" align="left" valign="top"><table width="327" height="301" border="0" cellpadding="0" cellspacing="0"  style="border:1px solid #CACACA;" >
      <tr>
        <td width="45" height="52" class="STYLE3">&nbsp;</td>
        <td height="52" colspan="2" class="STYLE3">易彩管理员登录</td>
      </tr>
      <tr>
        <td height="44">&nbsp;</td>
        <td width="54" align="center">账&nbsp;&nbsp;户 </td>
        <td width="226">
        	<s:textfield maxlength="20"  id="account"  onfocus="javascript:$('#accountError').text('');" name="account" size="27" cssStyle="border:1px solid #DBDBDB; height:22px; width:188px;"></s:textfield>
        </td>
      </tr>
      <tr>
      	<td></td>
      	<td></td>
      	<td><span class="tip" id="accountError"></span></td>
      </tr>
      <tr>
        <td height="43">&nbsp;</td>
        <td align="center">密&nbsp;&nbsp;码 </td>
        <td>
        	<s:password  maxlength="16"  onfocus="javascript:$('#passwordError').text('');" name="password" id="password" size="27" cssStyle="border:1px solid #DBDBDB; height:22px; width:188px;"></s:password>
        </td>
      </tr>
       <tr>
      	<td></td>
      	<td></td>
      	<td><span class="tip" id="passwordError"></span></td>
      </tr>
       <tr>
      	<td></td>
      	<td></td>
      	<td><span class="tip" id="verifyCodeError" ></span></td>
      </tr>
      <tr>
        <td height="56">&nbsp;</td>
        <td colspan="2" align="center"><table width="222" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td width="125" height="34" colspan="2" align="center"><img style="cursor: hand;"  onclick="submitForm();" src="images/denglu.jpg"  width="92" height="24" /></td>
            </tr>
          </table></td>
      </tr>
      <tr>
        <td height="60" colspan="3" align="center"> </td>
        </tr>
    </table>
      <table width="327" height="43" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td height="43" align="center" valign="bottom" bgcolor="#EFEDEE"><img src="images/line.jpg" width="325" height="36" /></td>
        </tr>
      </table></td>
  </tr>
</table>
</s:form>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="63">&nbsp;</td>
  </tr>
</table>

 <!-- 底部，所属公司所有权之类的 -->
<jsp:include page="/foot_end.jsp"></jsp:include>
</body>
</html>
